﻿<phone:PhoneApplicationPage
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    xmlns:Controls="clr-namespace:Coding4Fun.Toolkit.Controls;assembly=Coding4Fun.Toolkit.Controls" 
    xmlns:toolkit="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone.Controls.Toolkit"
    x:Class="A_larm_Shake.page_setAlarm"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d"
    shell:SystemTray.IsVisible="True">
	<phone:PhoneApplicationPage.ApplicationBar>
		<shell:ApplicationBar ForegroundColor="{StaticResource PhoneBorderColor}" BackgroundColor="#FF1699DD">
			<shell:ApplicationBarIconButton x:Name="bt_set" IconUri="/Toolkit.Content/ApplicationBar.Check.png" Text="Submit" Click="bt_set_Click"/>
			<shell:ApplicationBarIconButton x:Name="bt_cl" IconUri="/Toolkit.Content/ApplicationBar.Cancel.png" Text="Cancle" Click="bt_cl_Click"/>
		</shell:ApplicationBar>
	</phone:PhoneApplicationPage.ApplicationBar>

	<phone:PhoneApplicationPage.FontFamily>
		<StaticResource ResourceKey="PhoneFontFamilyNormal"/>
	</phone:PhoneApplicationPage.FontFamily>
	<phone:PhoneApplicationPage.FontSize>
		<StaticResource ResourceKey="PhoneFontSizeNormal"/>
	</phone:PhoneApplicationPage.FontSize>
	<phone:PhoneApplicationPage.Foreground>
		<StaticResource ResourceKey="PhoneForegroundBrush"/>
	</phone:PhoneApplicationPage.Foreground>
<!--LayoutRoot is the root grid where all page content is placed-->
	<Grid x:Name="LayoutRoot" Background="#FF1699DD">
		<Grid.RowDefinitions>
			<RowDefinition Height="Auto"/>
			<RowDefinition Height="*"/>
		</Grid.RowDefinitions>

		<!--TitlePanel contains the name of the application and page title-->
		<StackPanel Grid.Row="0" Margin="12,10,12,0" Background="#FF01669A" Height="106" VerticalAlignment="Top">
			<TextBlock Text="Alarm setting" Style="{StaticResource PhoneTextNormalStyle}" Foreground="White"/>
			<TextBlock Margin="9,-7,0,0" Style="{StaticResource PhoneTextTitle1Style}" Text="Set new Alarm" Foreground="White"/>
		</StackPanel>
		<Grid x:Name="ContentPanel_Copy" Margin="12,0" Grid.Row="1">
			<Grid.Background>
				<SolidColorBrush Color="#FF11A8AB" Opacity="2.5499999523162842"/>
			</Grid.Background>
			<StackPanel HorizontalAlignment="Center" Width="373">
				<StackPanel HorizontalAlignment="Left" Height="100" VerticalAlignment="Top" Width="373">
					<TextBlock HorizontalAlignment="Left" Height="30" TextWrapping="Wrap" Text="Set Alarm :" VerticalAlignment="Top" Width="373" Foreground="White"/>
                    <toolkit:TimePicker x:Name="set_timeSpan" ValueStringFormat="{}{0:HH:mm}" HorizontalAlignment="Center" Width="373" FontWeight="Bold" FontSize="36" Height="75" Foreground="White">
                    	<toolkit:TimePicker.Background>
                    		<SolidColorBrush Color="#FF11A8AB" Opacity="2.5499999523162842"/>
                    	</toolkit:TimePicker.Background>
                    </toolkit:TimePicker>
                </StackPanel>
				<StackPanel>
					<TextBlock HorizontalAlignment="Left" Height="30" TextWrapping="Wrap" Text="Set Level :" VerticalAlignment="Top" Width="373" Foreground="White"/>
					<toolkit:ListPicker x:Name="drop" Foreground="{StaticResource yel}">
						<toolkit:ListPickerItem x:Name="lv1" Content="Level 1" Tag="1" Foreground="White"/>
                        <toolkit:ListPickerItem x:Name="lv2" Content="Level 2" Tag="2"/>
                        <toolkit:ListPickerItem x:Name="lv3" Content="Level 3" Tag="3"/>
					</toolkit:ListPicker>
				</StackPanel>
				<StackPanel HorizontalAlignment="Center" VerticalAlignment="Center" Width="373">
					<TextBlock HorizontalAlignment="Left" Height="30" TextWrapping="Wrap" Text="Description :" VerticalAlignment="Top" Width="373" Foreground="White"/>
					<TextBox x:Name="tbx"  TextWrapping="Wrap" Background="#FF11A8AB" BorderBrush="White" Foreground="White"/>
				</StackPanel>
			</StackPanel>
        </Grid>

        <!--ContentPanel - place additional content here-->
	</Grid>

</phone:PhoneApplicationPage>